//
//  WYCOpinionController.m
//  51信用卡
//
//  Created by 中企互联 on 2017/11/2.
//  Copyright © 2017年 中企互联. All rights reserved.
//

#import "WYCOpinionController.h"
#import "MXPhotoView.h"

@interface WYCOpinionController ()

@end

@implementation WYCOpinionController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //seyupNav
    [self setupNav];
    
    
    //上传图片
    [self setupPhoto];
}

#pragma make -------->>上传图片
- (void)setupPhoto{
    
    UITextView * texView = [[UITextView alloc] init];
    texView.frame = CGRectMake(0, 0, ScreenWidth, 300 * px);
    texView.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:texView];
    
    UIView * backView = [[UIView alloc] init];
    backView.frame = CGRectMake(0, CGRectGetMaxY(texView.frame), ScreenWidth, 700 * px);
    backView.backgroundColor = [UIColor blackColor];
    [self.view addSubview:backView];
    
    self.edgesForExtendedLayout = UIRectEdgeNone;
    MXPhotoView *photoView = [[MXPhotoView alloc] init];
    photoView.photoViewDele = self;
    photoView.isNeedMovie = YES;
    photoView.showNum = 4;
    [backView addSubview:photoView];
}

- (void)setupNav {
    self.navigationItem.title = @"意见反馈";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    [self.navigationController.navigationBar setBarTintColor:bigredColor];
    
    self.view.backgroundColor = WYCGlobalBg;
}

@end
